package com.xingkeduo.dao;

import com.xingkeduo.model.example.TMarketingCouponExample;
import com.xingkeduo.model.po.TMarketingCoupon;
import com.xingkeduo.model.po.TMarketingCouponWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMarketingCouponMapper {
    int countByExample(TMarketingCouponExample example);

    int deleteByExample(TMarketingCouponExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingCouponWithBLOBs record);

    int insertSelective(TMarketingCouponWithBLOBs record);

    List<TMarketingCouponWithBLOBs> selectByExampleWithBLOBs(TMarketingCouponExample example);

    List<TMarketingCoupon> selectByExample(TMarketingCouponExample example);

    TMarketingCouponWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingCouponWithBLOBs record, @Param("example") TMarketingCouponExample example);

    int updateByExampleWithBLOBs(@Param("record") TMarketingCouponWithBLOBs record, @Param("example") TMarketingCouponExample example);

    int updateByExample(@Param("record") TMarketingCoupon record, @Param("example") TMarketingCouponExample example);

    int updateByPrimaryKeySelective(TMarketingCouponWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TMarketingCouponWithBLOBs record);

    int updateByPrimaryKey(TMarketingCoupon record);
}